package com.zygh.lz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Sptype implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String ssname;

    private Integer lx;  //对应等级勤务的state字段

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date cjsj;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date zhxgsj;

    private Integer yxzt;

    private Integer pid;

    @TableField(exist = false)
    private List<Hierarchytype> hierarchytypeList;


}
